package zucc.edu.repay.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "repay")
public class repay {
    private static final long serialVersionUID = 1195499488299288755L;


    private Integer repayid;//报销单号
    private String workerid;//工号
    private String company;//单位
    private String projectid;//经费项目代码
    private String reason;//出差事由
    private Integer annex;//附加单据数
    private String annexpath;//出差地点
    private Integer checkdays;//天数
    private Double checkplane;//飞机交通费
    private Double checktrain;//火车交通费
    private Double checktother;//其他交通费
    private Double checkstay;//住宿费
    private Double checkfood;//伙食补助费
    private Double checkmi;//公杂费
    private Double checkother;//其他
    private Double sum;//合计人民币
    private String approvalid;//建行卡号
    private Date data;//日期
    private String applicationid;//经办人号

@Id
    @Column(name = "repayid")
    public Integer getRepayid() {
        return this.repayid;
    }
    public void setRepayid(Integer repayid) {
        this.repayid = repayid;
    }

    @Column(name = "workerid")
    public String getWorkerid() {
        return this.workerid;
    }
    public void setWorkerid(String workerid) {
        this.workerid = workerid;
    }

    @Column(name = "company")
    public String getCompany() {
        return this.company;
    }
    public void setCompany(String company) {
        this.company = company;
    }


    @Column(name = "projectid")
    public String getProjectid() {
        return this.projectid;
    }
    public void setProjectid(String projectid) {
        this.projectid = projectid;
    }

    @Column(name = "reason")
    public String getReason() {
        return this.reason;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }

    @Column(name = "annex")
    public Integer getAnnex() {
        return this.annex;
    }
    public void setAnnex(Integer annex) {
        this.annex = annex;
    }

    @Column(name = "annexpath")
    public String getAnnexpath() {
        return this.annexpath;
    }
    public void setAnnexpath(String annexpath) {
        this.annexpath = annexpath;
    }

    @Column(name = "checkdays")
    public Integer getCheckdays() {
        return this.checkdays;
    }
    public void setCheckdays(Integer checkdays) {
        this.checkdays = checkdays;
    }

    @Column(name = "checkplane")
    public Double getCheckplane() {
        return this.checkplane;
    }
    public void setCheckplane(Double checkplane) {
        this.checkplane = checkplane;
    }

    @Column(name = "checktrain")
    public Double getChecktrain() {
        return this.checktrain;
    }
    public void setChecktrain(Double checktrain) {
        this.checktrain = checktrain;
    }

    @Column(name = "checktother")
    public Double getChecktother() {
        return this.checktother;
    }
    public void setChecktother(Double checktother) {
        this.checktother = checktother;
    }

    @Column(name = "checkstay")
    public Double getCheckstay() {
        return this.checkstay;
    }
    public void setCheckstay(Double checkstay) {
        this.checkstay = checkstay;
    }

    @Column(name = "checkfood")
    public Double getCheckfood() {
        return this.checkfood;
    }
    public void setCheckfood(Double checkfood) {
        this.checkfood = checkfood;
    }

    @Column(name = "checkmi")
    public Double getCheckmi() {
        return this.checkmi;
    }
    public void setCheckmi(Double checkmi) {
        this.checkmi = checkmi;
    }

    @Column(name = "checkother")
    public Double getCheckother() {
        return this.checkother;
    }
    public void setCheckother(Double checkother) {
        this.checkother = checkother;
    }

    @Column(name = "sum")
    public Double getSum() {
        return this.sum;
    }
    public void setSum(Double sum) {
        this.sum = sum;
    }

    @Column(name = "approvalid")
    public String getApprovalid() {
        return this.approvalid;
    }
    public void setApprovalid(String approvalid) {
        this.approvalid = approvalid;
    }

    @Column(name = "data")
    public Date getData() {
        return this.data;
    }
    public void setData(Date data) {
        this.data = data;
    }

    @Column(name = "applicationid")
    public String getApplicationid() {
        return this.applicationid;
    }
    public void setApplicationid(String applicationid) {
        this.applicationid = applicationid;
    }
}




